export default {
    namespaced: true,
    state() {
        return {
            // 用户信息
            profile: {
                id: '',
                avatar: '',
                nickname: '',
                account: '',
                mobile: '',
                token: ''
            },
            token:''
        }
    },
    mutations:{
        // 修改用户信息
        setUser(state,payload){
            state.profile = payload
        }
    }
}